//
//  HJNavigationController.m
//  KaiChat
//
//  Created by lx on 2023/10/16.
//

#import "HJNavigationController.h"

@interface HJNavigationController ()

@end

@implementation HJNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationBar.hidden = YES;
    [self setNavigationBarHidden:YES];
}
 
- (UIModalPresentationStyle)modalPresentationStyle {
    return self.topViewController.modalPresentationStyle;
}

- (UIViewController *)childViewControllerForStatusBarStyle {
    return self.topViewController;
}

- (UIViewController *)childViewControllerForStatusBarHidden {
    return self.topViewController;
}

@end
